github.com/go-pg/pg/v10/orm.UpdateQuery.q (field)
37 uses
github.com/go-pg/pg/v10/orm (current package)
update.go#L12: q *Query
update.go#L24: q: q,
update.go#L43: q: q.q.Clone(),
update.go#L50: return q.q
update.go#L60: if q.q.stickyErr != nil {
update.go#L61: return nil, q.q.stickyErr
update.go#L64: if len(q.q.with) > 0 {
update.go#L65: b, err = q.q.appendWith(fmter, b)
update.go#L73: b, err = q.q.appendFirstTableWithAlias(fmter, b)
update.go#L83: isSliceModelWithData := q.q.isSliceModelWithData()
update.go#L84: if isSliceModelWithData || q.q.hasMultiTables() {
update.go#L86: b, err = q.q.appendOtherTables(fmter, b)
update.go#L104: if len(q.q.returning) > 0 {
update.go#L105: b, err = q.q.appendReturning(fmter, b)
update.go#L111: return b, q.q.stickyErr
update.go#L120: return q.q.mustAppendWhere(fmter, b)
update.go#L123: if len(q.q.where) > 0 {
update.go#L124: return q.q.appendWhere(fmter, b)
update.go#L127: table := q.q.tableModel.Table()
update.go#L138: if len(q.q.set) > 0 {
update.go#L139: return q.q.appendSet(fmter, b)
update.go#L144: if m, ok := q.q.model.(*mapModel); ok {
update.go#L148: if !q.q.hasTableModel() {
update.go#L152: value := q.q.tableModel.Value()
update.go#L195: fields, err := q.q.getFields()
update.go#L201: fields = q.q.tableModel.Table().DataFields
update.go#L223: app, ok := q.q.modelValues[f.SQLName]
update.go#L234: for i, v := range q.q.extraValues {
update.go#L252: fields, err := q.q.getFields()
update.go#L258: fields = q.q.tableModel.Table().DataFields
update.go#L263: table = q.q.tableModel.Table()
update.go#L293: columns, err := q.q.getDataFields()
update.go#L299: columns = append(columns, q.q.tableModel.Table().PKs...)
update.go#L301: columns = q.q.tableModel.Table().Fields
update.go#L304: return q.appendSliceValues(fmter, b, columns, q.q.tableModel.Value())
update.go#L345: app, ok := q.q.modelValues[f.SQLName]